/**
 * 
 */
package com.zufangbao.earth.handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.zufangbao.earth.ViewEntry;

/**
 * @author lute
 *
 */
public interface CookieHandler {
	
	/**
	 * Add Cookie into response
	 * 
	 * @param name
	 * @param value
	 * @param response
	 */
	public void addCookie(String name, String value, HttpServletResponse response);
	
	public String getCookie(String name,HttpServletRequest request);
	
	public ViewEntry getViewCategoryFromCookie(String name,HttpServletRequest request);

}
